package com.j283_5.wisdom_park.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.j283_5.wisdom_park.common.result.ResultData;
import com.j283_5.wisdom_park.pojo.User;
import com.j283_5.wisdom_park.vo.confcenter_management.UserVo;

import java.util.ArrayList;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author laoda
 * @since 2022-04-28
 */
public interface UserService extends IService<User> {

    /**
     * 查询用户信息
     * @param page
     * @param usName
     * @return
     */
    ResultData getuserInfo(Page<User> page, String usName);

    /**
     * 添加用户信息
     * @param userVo
     * @return
     */
    ResultData addUserInfo(UserVo userVo);

    /**
     * 删除用户信息
     * @param usIdlist
     * @return
     */
    ResultData deleteUser(ArrayList<Integer> usIdlist);

    /**
     * 修改用户信息
     * @param user
     * @return
     */
    ResultData updateUser(User user);
}
